package com.example.robertluozizhao.framecollectdemo.activity;

import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.view.View;

import com.example.robertluozizhao.framecollectdemo.R;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by robert.luozizhao on 2018/1/29.
 */

public class SlidingConflictActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_sliding_conflict);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn_scene_01_external_intercept, R.id.btn_scene_01_internal_intercept, R.id.btn_scene_02_external_intercept})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn_scene_01_external_intercept:
                startActivity(new Intent(this, HorizontalAndVerticalScrollActivity01.class));
                break;
            case R.id.btn_scene_01_internal_intercept:
                startActivity(new Intent(this, HorizontalAndVerticalScrollActivity02.class));
                break;
            case R.id.btn_scene_02_external_intercept:
                startActivity(new Intent(this, VerticalAndVerticalScrollActivity.class));
                break;
        }
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }


}
